/**
 *
 */
package com.edooteach.webpay.helper;

import java.util.Map;

/**
 * @author lute
 */
public interface SignatureHelper {
    
    /**
     * 
     * @return
     */
    public String getAppKey(); 

    /**
     * @param signatureContext  
     * @return
     */
    public String sign(Map<String, String> signatureContext);

    /**
     * 
     * @param sortedQueryString
     * @param sign
     * @return
     */
    public boolean validate(String sortedQueryString, String sign);

}
